SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Emanuel Santos
-- Create date: 27-01-2013
-- Description:	Adicionar Foto
-- =============================================
CREATE PROCEDURE [ext].[sp_fe_addFoto] 
	-- Add the parameters for the stored procedure here
	@id_e int,
	@foto image,
	@descricao varchar(50)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	INSERT INTO [ext].[foto] ([id_evento],[foto],[descricao])
	VALUES (@id_e, @foto, @descricao)
END
GO
